package com.coca1cole.auth.application.convert;

import com.coca1cole.auth.domain.entity.AuthUserBO;
import com.coca1cole.auth.entity.AuthUserDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * dto转换器
 *
 * @author coca1cole
 * @since 2024-01-22 18:13:52
 */
@Mapper
public interface AuthUserDTOConverter {

    AuthUserDTOConverter INSTANCE = Mappers.getMapper(AuthUserDTOConverter.class);

    AuthUserBO convertDTOToBO(AuthUserDTO authUserDTO);

    AuthUserDTO convertBOToDTO(AuthUserBO userInfo);
}
